<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>简单计时器</title>
	</head>
	<body>
		<script>
			function myFun(){
				document.write("我爱javaScript"+"<br>")
			}
			window.setInterval(myFun,3000);
		</script>
	</body>
</html>
